﻿Imports BusinessRule.DTO

Public Interface uMESSynergicIBusinessTest
    Function GetContainerNeedSynergicInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSynergicSpecValidateContainerList(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSynergicSpecValidateInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetLastSynergicInfo(ByVal QueryCondition As Dictionary(Of String, String)) As String

    Function GetLastSynergicSpecValidate(ByVal QueryCondition As Dictionary(Of String, String)) As String

    Function GetSynergicInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSynergicSpecDisposeInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    'Function GetSynergicDetailInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSynergicSpecValidateDetailInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult


    Function GetNeedReturnSynergicInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult


    Function GetSynergicSpecInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult


    Function CreateSynergicSpecValidate(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function UpdateSynergicSpecValidate(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function DeleteSynergicSpecValidate(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function DisposeSynergicSpecValidateNew(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function DisposeSynergicSpecValidate(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function CreateSynergicInfo(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function UpdateSynergicInfo(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function DeleteSynergicInfo(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function ReturnSynergicInfoNew(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function ReturnSynergicInfo(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function UpdateSynergicspecvalidate(ByVal para As uMESSynergicInfoDTO) As uMESProcessResult

    Function ChangeQty(ByVal oScrapInfoDTO As uMESChangeQtyDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetChildContainerByParent(ByVal strContainerName As String) As uMESProcessResult

    Function GetStepBySpecID(ByVal strSpecName As String, ByVal strSpecRev As String, ByVal strWorkflowID As String) As uMESProcessResult

    Function GetSynergicDirectoryInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSynergicDirectoryDetailInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetWorkflowByProduct(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetCustomerInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function GetSpecInfoByWorkflow(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function CreateSynergicDirectory(ByVal oSynergicDirectoryDTO As uMESSynergicDirectoryDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetHasSaveSynergicDirectoryInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function UpdateSynergicDirectory(ByVal oSynergicDirectoryDTO As uMESSynergicDirectoryDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function DeleteSynergicDirectory(ByVal oSynergicDirectoryDTO As uMESSynergicDirectoryDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetValidateSpecInfo(ByVal QueryCondition As Dictionary(Of String, String)) As DataTable

#Region "得到外协申请单的工序信息"
    Function GetSynergicspecvalidateSpec(ByVal strSynergicspecvalidateID As String) As DataTable
#End Region

#Region "得到在制批次和外协申请单信息"
    Function GetWipContainerAndValidate(ByVal para As Dictionary(Of String, String)) As uMESProcessResult
#End Region

    Function GetNeedAcceptSynergicInfo(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult

    Function AcceptUpdateSynergicInfo(ByVal oSynergicInfoDTO As uMESSynergicInfoDTO, ByRef result As Boolean, ByRef message As String) As Boolean

    Function GetSynergicSpecValidateDetail(ByVal strVaildateID As String) As DataTable

    Function GetFactoryInfo(ByVal strFatoryName As String) As DataTable

    Function GetCustomInfo(ByVal strCustomName As String) As DataTable

    Function IsDealSynergicInfo(ByVal SynergicInfoName As String) As Boolean

End Interface
